package com.itheima.d1_inner_class1;

public class Person {
    public static int num1;
    public int age = 20;
    public class Yapzi{
        public int age = 30;
        public void say(){
            int age = 40;
            System.out.println(num1);
            //方法中
            System.out.println(age);
            //本类中
            System.out.println(this.age);
            //外部类中
            System.out.println(Person.this.age);
        }
    }
}
